<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang xml:lang>
<head>
  <meta http-equiv='X-UA-Compatible' content='IE=edge' />
  <meta http-equiv='MSThemeCompatible' content='Yes'>

  <meta charset="utf-8" />
  <meta name="generator" content="pandoc" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
  <title>04_Colors</title>
  <style type="text/css">
      code{white-space: pre-wrap;}
      span.smallcaps{font-variant: small-caps;}
      span.underline{text-decoration: underline;}
      div.column{display: inline-block; vertical-align: top; width: 50%;}
  </style>
  <style type="text/css">@font-face {font-family: octicons-link;src: url(data:font/woff;charset=utf-8;base64,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) format('woff');}body {-webkit-text-size-adjust: 100%;text-size-adjust: 100%;color: #333;font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size: 16px;line-height: 1.6;word-wrap: break-word;max-width: 99%;box-sizing: border-box;padding: 20px 5px 8rem 5px; margin-left: auto;margin-right: auto;}body a {background-color: transparent;}body a:active,body a:hover {outline: 0;}body strong {font-weight: bold;}body h1 {font-size: 2em;margin: 0.67em 0;}body img {border: 0;}body hr {box-sizing: content-box;height: 0;}body pre {overflow: auto;}body code,body kbd,body pre {font-family: monospace, monospace;font-size: 1em;}body input {color: inherit;font: inherit;margin: 0;}body html input[disabled] {cursor: default;}body input {line-height: normal;}body input[type="checkbox"] {box-sizing: border-box;padding: 0;}body table {border-collapse: collapse;border-spacing: 0;}body td,body th {padding: 0;}body * {box-sizing: border-box;}body input {font: 13px / 1.4 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";}body a {color: #4078c0;text-decoration: none;}body a:hover,body a:active {text-decoration: underline;}body hr {height: 0;margin: 15px 0;overflow: hidden;background: transparent;border: 0;border-bottom: 1px solid #ddd;}body hr:before {display: table;content: "";}body hr:after {display: table;clear: both;content: "";}body h1,body h2,body h3,body h4,body h5,body h6 {margin-top: 15px;margin-bottom: 15px;line-height: 1.1;}body h1 {font-size: 30px;}body h2 {font-size: 21px;}body h3 {font-size: 16px;}body h4 {font-size: 14px;}body h5 {font-size: 12px;}body h6 {font-size: 11px;}body blockquote {margin: 0;}body ul,body ol {padding: 0;margin-top: 0;margin-bottom: 0;}body ol ol,body ul ol {list-style-type: lower-roman;}body ul ul ol,body ul ol ol,body ol ul ol,body ol ol ol {list-style-type: lower-alpha;}body dd {margin-left: 0;}body code {font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size: 12px;}body pre {margin-top: 0;margin-bottom: 0;font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;}body .select::-ms-expand {opacity: 0;}body .octicon {font: normal normal normal 16px/1 octicons-link;display: inline-block;text-decoration: none;text-rendering: auto;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}body .octicon-link:before {content: '\f05c';}body:before {display: table;content: "";}body:after {display: table;clear: both;content: "";}body>*:first-child {margin-top: 0 !important;}body>*:last-child {margin-bottom: 0 !important;}body a:not([href]) {color: inherit;text-decoration: none;}body .anchor {display: inline-block;padding-right: 2px;margin-left: -18px;}body .anchor:focus {outline: none;}body h1,body h2,body h3,body h4,body h5,body h6 {margin-top: 1em;margin-bottom: 16px;font-weight: bold;line-height: 1.4;}body h1 .octicon-link,body h2 .octicon-link,body h3 .octicon-link,body h4 .octicon-link,body h5 .octicon-link,body h6 .octicon-link {color: #000;vertical-align: middle;visibility: hidden;}body h1:hover .anchor,body h2:hover .anchor,body h3:hover .anchor,body h4:hover .anchor,body h5:hover .anchor,body h6:hover .anchor {text-decoration: none;}body h1:hover .anchor .octicon-link,body h2:hover .anchor .octicon-link,body h3:hover .anchor .octicon-link,body h4:hover .anchor .octicon-link,body h5:hover .anchor .octicon-link,body h6:hover .anchor .octicon-link {visibility: visible;}body h1 {padding-bottom: 0.3em;font-size: 1.75em;line-height: 1.2;}body h1 .anchor {line-height: 1;}body h2 {padding-bottom: 0.3em;font-size: 1.5em;line-height: 1.225;}body h2 .anchor {line-height: 1;}body h3 {font-size: 1.25em;line-height: 1.43;}body h3 .anchor {line-height: 1.2;}body h4 {font-size: 1em;}body h4 .anchor {line-height: 1.2;}body h5 {font-size: 1em;}body h5 .anchor {line-height: 1.1;}body h6 {font-size: 1em;color: #777;}body h6 .anchor {line-height: 1.1;}body p,body blockquote,body ul,body ol,body dl,body table,body pre {margin-top: 0;margin-bottom: 16px;}body hr {height: 4px;padding: 0;margin: 16px 0;background-color: #e7e7e7;border: 0 none;}body ul,body ol {padding-left: 2em;}body ul ul,body ul ol,body ol ol,body ol ul {margin-top: 0;margin-bottom: 0;}body li>p {margin-top: 16px;}body dl {padding: 0;}body dl dt {padding: 0;margin-top: 16px;font-size: 1em;font-style: italic;font-weight: bold;}body dl dd {padding: 0 16px;margin-bottom: 16px;}body blockquote {padding: 0 15px;color: #777;border-left: 4px solid #ddd;}body blockquote>:first-child {margin-top: 0;}body blockquote>:last-child {margin-bottom: 0;}body table {display: block;width: 100%;overflow: auto;word-break: normal;word-break: keep-all;}body table th {font-weight: bold;}body table th,body table td {padding: 6px 13px;border: 1px solid #ddd;}body table tr {background-color: #fff;border-top: 1px solid #ccc;}body table tr:nth-child(2n) {background-color: #f8f8f8;}body img {max-width: 100%;box-sizing: content-box;background-color: #fff;}body code {padding: 0;padding-top: 0;padding-bottom: 0;margin: 0;font-size: 85%;background-color: rgba(0,0,0,0.04);border-radius: 3px;}body code:before,body code:after {letter-spacing: -0.2em;content: "\00a0";}body pre>code {padding: 0;margin: 0;font-size: 100%;word-break: normal;white-space: pre;background: transparent;border: 0;}body .highlight {margin-bottom: 16px;}body .highlight pre,body pre {padding: 16px;overflow: auto;font-size: 85%;line-height: 1.45;background-color: #f7f7f7;border-radius: 3px;}body .highlight pre {margin-bottom: 0;word-break: normal;}body pre {word-wrap: normal;}body pre code {display: inline;max-width: initial;padding: 0;margin: 0;overflow: initial;line-height: inherit;word-wrap: normal;background-color: transparent;border: 0;}body pre code:before,body pre code:after {content: normal;}body kbd {display: inline-block;padding: 3px 5px;font-size: 11px;line-height: 10px;color: #555;vertical-align: middle;background-color: #fcfcfc;border: solid 1px #ccc;border-bottom-color: #bbb;border-radius: 3px;box-shadow: inset 0 -1px 0 #bbb;}body .pl-c {color: #969896;}body .pl-c1,body .pl-s .pl-v {color: #0086b3;}body .pl-e,body .pl-en {color: #795da3;}body .pl-s .pl-s1,body .pl-smi {color: #333;}body .pl-ent {color: #63a35c;}body .pl-k {color: #a71d5d;}body .pl-pds,body .pl-s,body .pl-s .pl-pse .pl-s1,body .pl-sr,body .pl-sr .pl-cce,body .pl-sr .pl-sra,body .pl-sr .pl-sre {color: #183691;}body .pl-v {color: #ed6a43;}body .pl-id {color: #b52a1d;}body .pl-ii {background-color: #b52a1d;color: #f8f8f8;}body .pl-sr .pl-cce {color: #63a35c;font-weight: bold;}body .pl-ml {color: #693a17;}body .pl-mh,body .pl-mh .pl-en,body .pl-ms {color: #1d3e81;font-weight: bold;}body .pl-mq {color: #008080;}body .pl-mi {color: #333;font-style: italic;}body .pl-mb {color: #333;font-weight: bold;}body .pl-md {background-color: #ffecec;color: #bd2c00;}body .pl-mi1 {background-color: #eaffea;color: #55a532;}body .pl-mdr {color: #795da3;font-weight: bold;}body .pl-mo {color: #1d3e81;}body kbd {display: inline-block;padding: 3px 5px;font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height: 10px;color: #555;vertical-align: middle;background-color: #fcfcfc;border: solid 1px #ccc;border-bottom-color: #bbb;border-radius: 3px;box-shadow: inset 0 -1px 0 #bbb;}body .task-list-item {list-style-type: none;}body .task-list-item+.task-list-item {margin-top: 3px;}body .task-list-item input {margin: 0 0.35em 0.25em -1.6em;vertical-align: middle;}body :checked+.radio-label {z-index: 1;position: relative;border-color: #4078c0;}</style>
  
    
  
</head>
<body>
<h1 id="colors">Colors</h1>
<p>The visual designer has a tremendous number of built-in color values that can be used when assigning values to various aspects of your application such as background and foreground colors for controls. The visual designer will automatically generate the correct code to assign a color if you choose colors via the visual designer's <strong>Property List</strong>. If you choose to assign colors via code, then you can do so by interacting with the global shared <strong>Colors</strong> variable (that variable is defined as the <strong>wfxColors</strong> class).</p>
<pre><code>Form1.Text1.BackColor = Color.Coral
Form1.Text1.BackColor = Color.SystemWindow
Form1.Text1.BackColor = Color.Red
</code></pre>
<p>If you need to use a color that is not predefined or is not a Windows system color, then you can simply assign it based on the color value returned from the <strong>BGR</strong> function.</p>
<pre><code>Form1.Text1.BackColor = BGR(255,0,0)  ' bright red
</code></pre>
<p>The following is the definition of the <strong>wfxColors</strong> class:</p>
<pre><code>TYPE wfxColors
   SystemActiveBorder      As COLORREF = GetSysColor(COLOR_ACTIVEBORDER)
   SystemActiveCaption     As COLORREF = GetSysColor(COLOR_ACTIVECAPTION)
   SystemActiveCaptionText As COLORREF = GetSysColor(COLOR_CAPTIONTEXT)
   SystemAppWorkspace      As COLORREF = GetSysColor(COLOR_APPWORKSPACE)
   SystemButtonFace        As COLORREF = GetSysColor(COLOR_BTNFACE)
   SystemButtonHighlight   As COLORREF = GetSysColor(COLOR_BTNHILIGHT)
   SystemButtonShadow      As COLORREF = GetSysColor(COLOR_BTNSHADOW) 
   SystemControl           As COLORREF = GetSysColor(COLOR_3DFACE)
   SystemControlDark       As COLORREF = GetSysColor(COLOR_3DSHADOW)
   SystemControlDarkDark   As COLORREF = GetSysColor(COLOR_3DDKSHADOW)
   SystemControlLight      As COLORREF = GetSysColor(COLOR_3DLIGHT)
   SystemControlLightLight As COLORREF = GetSysColor(COLOR_3DHILIGHT)
   SystemControlText       As COLORREF = GetSysColor(COLOR_BTNTEXT)
   SystemDesktop           As COLORREF = GetSysColor(COLOR_DESKTOP)
   SystemGradientActiveCaption   As COLORREF = GetSysColor(COLOR_GRADIENTACTIVECAPTION)
   SystemGradientInactiveCaption as COLORREF = GetSysColor(COLOR_GRADIENTINACTIVECAPTION)
   SystemGrayText          As COLORREF = GetSysColor(COLOR_GRAYTEXT)
   SystemHighlight         As COLORREF = GetSysColor(COLOR_HIGHLIGHT)
   SystemHighlightText     As COLORREF = GetSysColor(COLOR_HIGHLIGHTTEXT)
   SystemHotTrack          As COLORREF = GetSysColor(COLOR_HOTLIGHT)
   SystemInactiveBorder    As COLORREF = GetSysColor(COLOR_INACTIVEBORDER)
   SystemInactiveCaption   As COLORREF = GetSysColor(COLOR_INACTIVECAPTION)
   SystemInactiveCaptionText As COLORREF = GetSysColor(COLOR_INACTIVECAPTIONTEXT)
   SystemInfo              As COLORREF = GetSysColor(COLOR_INFOBK)
   SystemInfoText          As COLORREF = GetSysColor(COLOR_INFOTEXT)
   SystemMenu              As COLORREF = GetSysColor(COLOR_MENU)
   SystemMenuBar           As COLORREF = GetSysColor(COLOR_MENUBAR)
   SystemMenuHighlight     As COLORREF = GetSysColor(COLOR_MENUHILIGHT)
   SytemMenuText           As COLORREF = GetSysColor(COLOR_MENUTEXT)
   SystemScrollBar         As COLORREF = GetSysColor(COLOR_SCROLLBAR)
   SystemWindow            As COLORREF = GetSysColor(COLOR_WINDOW)
   SystemWindowFrame       As COLORREF = GetSysColor(COLOR_WINDOWFRAME)
   SystemWindowText        As COLORREF = GetSysColor(COLOR_WINDOWTEXT)

   AliceBlue            As COLORREF = BGR(240,248,255)
   AntiqueWhite         as COLORREF = BGR(250,235,215)
   Aqua                 as COLORREF = BGR(  0,255,255)
   Aquamarine           as COLORREF = BGR(127,255,212) 
   Azure                as COLORREF = BGR(240,255,255)
   Beige                as COLORREF = BGR(245,245,220)
   Bisque               as COLORREF = BGR(255,228,196)
   Black                as COLORREF = BGR(  0,  0,  0)
   BlanchedAlmond       as COLORREF = BGR(255,255,205)
   Blue                 as COLORREF = BGR(  0,  0,255)
   BlueViolet           as COLORREF = BGR(138, 43,226)
   Brown                as COLORREF = BGR(165, 42, 42)
   Burlywood            as COLORREF = BGR(222,184,135)
   CadetBlue            as COLORREF = BGR( 95,158,160)
   Chartreuse           as COLORREF = BGR(127,255,  0)
   Chocolate            as COLORREF = BGR(210,105, 30)
   Coral                as COLORREF = BGR(255,127, 80)
   CornflowerBlue       as COLORREF = BGR(100,149,237)
   Cornsilk             as COLORREF = BGR(255,248,220)
   Crimson              as COLORREF = BGR(220, 20, 60)
   Cyan                 as COLORREF = BGR(  0,255,255)
   DarkBlue             as COLORREF = BGR(  0,  0,139)
   DarkCyan             as COLORREF = BGR(  0,139,139)
   DarkGoldenRod        as COLORREF = BGR(184,134, 11) 
   DarkGray             as COLORREF = BGR(169,169,169)
   DarkGreen            as COLORREF = BGR(  0,100,  0)
   DarkKhaki            as COLORREF = BGR(189,183,107)
   DarkMagenta          as COLORREF = BGR(139,  0,139)
   DarkOliveGreen       as COLORREF = BGR( 85,107, 47) 
   DarkOrange           as COLORREF = BGR(255,140,  0) 
   DarkOrchid           as COLORREF = BGR(153, 50,204)
   DarkRed              as COLORREF = BGR(139,  0,  0)
   DarkSalmon           as COLORREF = BGR(233,150,122)
   DarkSeaGreen         as COLORREF = BGR(143,188,143)
   DarkSlateBlue        as COLORREF = BGR( 72, 61,139)
   DarkSlateGray        as COLORREF = BGR( 47, 79, 79)
   DarkTurquoise        as COLORREF = BGR(  0,206,209)
   DarkViolet           as COLORREF = BGR(148,  0,211)
   DeepPink             as COLORREF = BGR(255, 20,147)
   DeepSkyBlue          as COLORREF = BGR(  0,191,255)
   DimGray              as COLORREF = BGR(105,105,105)
   DodgerBlue           as COLORREF = BGR( 30,144,255)
   FireBrick            as COLORREF = BGR(178, 34, 34)
   FloralWhite          as COLORREF = BGR(255,250,240)
   ForestGreen          as COLORREF = BGR( 34,139, 34)
   Fuchsia              as COLORREF = BGR(255,  0,255)
   Gainsboro            as COLORREF = BGR(220,220,220)
   GhostWhite           as COLORREF = BGR(248,248,255)
   Gold                 as COLORREF = BGR(255,215,  0)
   GoldenRod            as COLORREF = BGR(218,165, 32)
   Gray                 as COLORREF = BGR(127,127,127)
   Green                as COLORREF = BGR(  0,128,  0)
   GreenYellow          as COLORREF = BGR(173,255, 47)
   HoneyDew             as COLORREF = BGR(240,255,240)
   HotPink              as COLORREF = BGR(255,105,180)
   IndianRed            as COLORREF = BGR(205, 92, 92)
   Indigo               as COLORREF = BGR( 75,  0,130)
   Ivory                as COLORREF = BGR(255,255,240)
   Khaki                as COLORREF = BGR(240,230,140)
   Lavender             as COLORREF = BGR(230,230,250)
   LavenderBlush        as COLORREF = BGR(255,240,245)
   Lawngreen            as COLORREF = BGR(124,252,  0)
   LemonChiffon         as COLORREF = BGR(255,250,205)
   LightBlue            as COLORREF = BGR(173,216,230)
   LightCoral           as COLORREF = BGR(240,128,128)
   LightCyan            as COLORREF = BGR(224,255,255)
   LightGoldenRodYellow as COLORREF = BGR(250,250,210)
   LightGreen           as COLORREF = BGR(144,238,144)
   LightGrey            as COLORREF = BGR(211,211,211)
   LightPink            as COLORREF = BGR(255,182,193)
   LightSalmon          as COLORREF = BGR(255,160,122)
   LightSeaGreen        as COLORREF = BGR( 32,178,170)
   LightSkyBlue         as COLORREF = BGR(135,206,250)
   LightSlateGray       as COLORREF = BGR(119,136,153)
   LightSteelBlue       as COLORREF = BGR(176,196,222)
   LightYellow          as COLORREF = BGR(255,255,224)
   Lime                 as COLORREF = BGR(  0,255,  0)
   LimeGreen            as COLORREF = BGR( 50,205, 50)
   Linen                as COLORREF = BGR(250,240,230)
   Magenta              as COLORREF = BGR(255,  0,255)
   Maroon               as COLORREF = BGR(128,  0,  0)
   MediumAquamarine     as COLORREF = BGR(102,205,170)
   MediumBlue           as COLORREF = BGR(  0,  0,205)
   MediumOrchid         as COLORREF = BGR(186, 85,211)
   MediumPurple         as COLORREF = BGR(147,112,219)
   MediumSeaGreen       as COLORREF = BGR( 60,179,113)
   MediumSlateBlue      as COLORREF = BGR(123,104,238)
   MediumSpringGreen    as COLORREF = BGR(  0,250,154)
   MediumTurquoise      as COLORREF = BGR( 72,209,204)
   MediumVioletRed      as COLORREF = BGR(199, 21,133)
   MidnightBlue         as COLORREF = BGR( 25, 25,112)
   MintCream            as COLORREF = BGR(245,255,250)
   MistyRose            as COLORREF = BGR(255,228,225)
   Moccasin             as COLORREF = BGR(255,228,181)
   NavajoWhite          as COLORREF = BGR(255,222,173)
   Navy                 as COLORREF = BGR(  0,  0,128)
   Navyblue             as COLORREF = BGR(159,175,223)
   OldLace              as COLORREF = BGR(253,245,230)
   Olive                as COLORREF = BGR(128,128,  0)
   OliveDrab            as COLORREF = BGR(107,142, 35)
   Orange               as COLORREF = BGR(255,165,  0)
   OrangeRed            as COLORREF = BGR(255, 69,  0)
   Orchid               as COLORREF = BGR(218,112,214)
   PaleGoldenRod        as COLORREF = BGR(238,232,170)
   PaleGreen            as COLORREF = BGR(152,251,152)
   PaleTurquoise        as COLORREF = BGR(175,238,238)
   PaleVioletRed        as COLORREF = BGR(219,112,147)
   PapayaWhip           as COLORREF = BGR(255,239,213)
   PeachPuff            as COLORREF = BGR(255,218,185)
   Peru                 as COLORREF = BGR(205,133, 63)
   Pink                 as COLORREF = BGR(255,192,203)
   Plum                 as COLORREF = BGR(221,160,221)
   PowderBlue           as COLORREF = BGR(176,224,230)
   Purple               as COLORREF = BGR(128,  0,128)
   Red                  as COLORREF = BGR(255,  0,  0)
   RosyBrown            as COLORREF = BGR(188,143,143)
   RoyalBlue            as COLORREF = BGR( 65,105,225)
   SaddleBrown          as COLORREF = BGR(139, 69, 19)
   Salmon               as COLORREF = BGR(250,128,114)
   SandyBrown           as COLORREF = BGR(244,164, 96)
   SeaGreen             as COLORREF = BGR( 46,139, 87)
   SeaShell             as COLORREF = BGR(255,245,238)
   Sienna               as COLORREF = BGR(160, 82, 45)
   Silver               as COLORREF = BGR(192,192,192)
   SkyBlue              as COLORREF = BGR(135,206,235)
   SlateBlue            as COLORREF = BGR(106, 90,205)
   SlateGray            as COLORREF = BGR(112,128,144)
   Snow                 as COLORREF = BGR(255,250,250)
   SpringGreen          as COLORREF = BGR(  0,255,127)
   SteelBlue            as COLORREF = BGR( 70,130,180)
   Tan                  as COLORREF = BGR(210,180,140)
   Teal                 as COLORREF = BGR(  0,128,128)
   Thistle              as COLORREF = BGR(216,191,216)
   Tomato               as COLORREF = BGR(255, 99, 71)
   Turquoise            as COLORREF = BGR( 64,224,208)
   Violet               as COLORREF = BGR(238,130,238)
   Wheat                as COLORREF = BGR(245,222,179)
   White                as COLORREF = BGR(255,255,255)
   WhiteSmoke           as COLORREF = BGR(245,245,245)
   Yellow               as COLORREF = BGR(255,255,  0)
   YellowGreen          as COLORREF = BGR(139,205, 50)
end Type

''
''  Create system wide access to this colors class
Dim Shared Colors as wfxColors

</code></pre>
</body>
</html>

